<%-- 
    Document   : AdvancedSearch
    Created on : Dec 2, 2011, 11:21:33 PM
    Author     : rkoretke
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="/cheapflix/css/style.css" />
        <title>Advanced DVD Search</title>
    </head>
    <body>
        <jsp:useBean id="SearchCriteria" scope="session" class="com.cheapflix.beans.SearchCriteria"/>
        <div class="outer">
            <%@ include file="/WEB-INF/views/header.jsp" %>
            <div class="row rowstyle rowleft">
                <form action="/cheapflix/advancedSearch" method="GET" class="loginform">
                    <h2>Advanced DVD Search</h2>
                    <label>Title:</label> <input type="text" name="title" value="${SearchCriteria.title}"/><br>
                    <label> Genre:</label>  <input type="text" name="genre" value="${SearchCriteria.genre}"/><br>
                    <label>Actor:</label>  <input type="text" name="actor" value="${SearchCriteria.actors}"/><br>
                    <label> Director: </label>  <input type="text" name="director" value="${SearchCriteria.director}"/><br>
                    <input type="submit" value="Search">
                </form>
            </div>
            <%@ include file="/WEB-INF/views/footer.jsp" %>
        </div>
    </body>
</html>
